error

public NetError error()

Returns the network error code which describes the reason of the certificate error.